package java_0629;

public class ThreadSingleDemo {
    static class Singleton{
        private Singleton(){

        }
        private static Singleton instance = new Singleton();
        public Singleton getInstance(){
            return instance;
        }
    }
}
